<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title></title>
    <script src="./../requriejs/bower_components/requirejs/require.js"></script>
    <script>
        requirejs.config({
            paths: {
                'jquery': './../lib/jquery-1.11.0'
            }
        });
        require(["./uploader"],function(Uploader){
            debugger;
              new Uploader('#rootElement',{
                  actionUrl:'http://mindsaur.com/demo/fileupload/src/php/getfile.php'
              });
        });
    </script>
</head>
<body>
<style>
      #rootElement{
          background: lightcyan;
          height: 200px;
          width: 300px;
      }
</style>
      <div id="rootElement">上传按钮</div>

</body>
</html>